package com.Cychat.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.FilterType;

@SpringBootApplication(scanBasePackages = "com.Cychat")
@ComponentScan(
        basePackages = "com.Cychat",
        excludeFilters = @ComponentScan.Filter(
                type = FilterType.ASSIGNABLE_TYPE,
                classes = com.Cychat.commons.config.OssConfig.class  // 排除目标类
        )
)
public class CychatJavaGatewayApplication {

    public static void main(String[] args) {
        SpringApplication.run(CychatJavaGatewayApplication.class, args);
    }

}
